package com.situ.ssm.service;

import java.util.List;
import java.util.Map;

import com.situ.ssm.entity.Course;
import com.situ.ssm.entity.PageBean;
import com.situ.ssm.vo.CourseSearchCondition;

public interface ICourseService {

	List<Course> list();

	PageBean<Map<String, Object>> getPageBean(CourseSearchCondition condition);

	boolean insert(Course course);

	boolean deleteById(Integer id);

	boolean deleteAll(String[] selectIds);

	Course findByName(Integer id);

	boolean update(Course course);

	boolean checkName(String name);

}
